﻿using System.Collections.Generic;

namespace Iptv.MediaReporter.Model
{
    /// <summary>
    /// 指纹采集对象
    /// </summary>
    public class FingerPrintData
    {
        /// <summary>
        /// 接口版本
        /// </summary>
        public string version { get; set; } = "1.0";
        /// <summary>
        /// 任务优先级
        /// </summary>
        public string reportRes { get; set; } = "10";
        /// <summary>
        /// 资源集合
        /// </summary>
        public List<ReportMediaUrlData> vlist { get; set; } = new List<ReportMediaUrlData>();
    }

    /// <summary>
    /// 上报媒体资源地址信息
    /// </summary>
    public class ReportMediaUrlData
    {
        /// <summary>
        /// 视频全局标识
        /// </summary>
        public string guid { get; set; }
        /// <summary>
        /// 数据来源类型 1：磁盘挂载  2：网络传输 默认1
        /// </summary>
        public int type { get; set; } = 1;
        /// <summary>
        /// 视频源地址
        /// </summary>
        public string videoUrl { get; set; }
    }
}
